package com.ourteam.frame.web;

import java.io.Serializable;

public class OperationResult implements Serializable {
	
	public static final OperationResult SUCCESS_RESULT = new OperationResult(false,"",null);

	private boolean hasError;
	
	private String message;
	
	private Object result;

	public OperationResult(boolean hashError, String message, Object result) {
		super();
		this.hasError = hashError;
		this.message = message;
		this.result = result;
	}

	public boolean isHasError() {
		return hasError;
	}

	public void setHasError(boolean hashError) {
		this.hasError = hashError;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Object getResult() {
		return result;
	}

	public void setResult(Object result) {
		this.result = result;
	}
	
	
}
